﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Practices.Unity.InterceptionExtension;

namespace WDA.Core
{
   /// <summary>
   /// <see cref="IMatchingRule"/> implementation which matches all members.
   /// </summary>
   public sealed class MatchAllRule : IMatchingRule
   {
      /// <summary>
      /// Matches all members.
      /// </summary>
      /// <param name="member"></param>
      /// <returns></returns>
      public bool Matches(System.Reflection.MethodBase member)
      {
         return true;
      }
   }   
}
